package ltd.dujiabao.servicebase.exception;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author : DuJiabao
 * @Project : online-course-project
 * @Time : 2021/4/19 11:14
 * @Desc :
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyException extends RuntimeException {
  @ApiModelProperty(value = "状态码")
  private Integer code;
  private String mes;
}
